package com.zut.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 视图跳转控制器,只用于视图跳转
 */
@Controller
public class CommentController {

    @RequestMapping("/admin")
    public  String LoginAdm(){
        return "back/login";
    }

    //到管理员主面板
    @RequestMapping("/admindex")
    public String adminex1(){
        return "back/index";
    }

    @RequestMapping("/log-in")
    public String log_in(){
        return "log-in";
    }

    @RequestMapping("/registration")
    public String registration(){
        return "registration";
    }

    @RequestMapping("/contact")
    public String contact(){
        return "contact";
    }

    @RequestMapping("/userpage")
    public String userpage(){
        return "userpage";
    }

    @RequestMapping("/information")
    public String information(){
        return "modify_information";
    }

    @RequestMapping("/shop")
    public String shop(){
        return "shop";
    }

    @RequestMapping("/gallery")
    public String gallery(){
        return "gallery";
    }

    @RequestMapping("/blog")
    public String blog(){
        return "blog";
    }

    @RequestMapping("/feedback")
    public String feedback(){
        return "feedback";
    }


    @RequestMapping("/index")
    public String index(){
        return "index";
    }

    @RequestMapping("/teacher_details")
    public String teacher_details(){
        return "teacher_details";
    }



}
